// 自动生成模板QmCost
package qingma

import (
	"qm_system_server/server/global"
)

// qmCost表 结构体  QmCost
type QmCost struct {
	global.GVA_MODEL
	GameHash   string  `json:"gameHash" form:"gameHash" gorm:"column:game_hash;comment:;size:255;"binding:"required"`      //gameHash字段
	PlatformId int64   `json:"platformId" form:"platformId" gorm:"column:platform_id;comment:;size:10;"binding:"required"` //platformId字段
	Name       string  `json:"name" form:"name" gorm:"column:name;comment:成本名称;size:255;"binding:"required"`               //成本名称
	Cost       float64 `json:"cost" form:"cost" gorm:"column:cost;comment:成本;size:10;"binding:"required"`                  //成本
	Month      string  `json:"month" form:"month" gorm:"column:month;comment:月份;size:255;"binding:"required"`              //月份
}

// TableName qmCost表 QmCost自定义表名 qm_cost
func (QmCost) TableName() string {
	return "qm_cost"
}
